package functions;

/**
 * Created with IntelliJ IDEA.
 * User: MoiMini
 * Date: 06/10/13
 * Time: 20:02
 * To change this template use File | Settings | File Templates.
 */
public class item {
    protected String sku;
    protected Integer stock_level = 0;
    protected String item_name;
    private Object etiquette;

    public item(String sku, Integer stock, String name) {
        this.sku=sku;
        this.stock_level=stock;
        this.item_name=name;
    }

    public item(){

    }

    public void save() {
    }

    public void update_item() {
    }

    public void Delete_item() {
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public Integer getStock_level() {
        return stock_level;
    }

    public void setStock_level(Integer stock_level) {
        this.stock_level = stock_level;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }
    @Override
    public String toString() {
        return this.getSku() + ". " + this.getItem_name() + " " + this.getStock_level() + "";
    }
}
